package com.ruoyi.system.service.construction.strategy;

import com.ruoyi.system.domain.construction.strategy.ConstructionStrategy;
import com.ruoyi.system.domain.zhuangxiumain.shopMain.SupplierInfo;

import java.util.List;

/**
 * 施工攻略Service接口
 *
 * @author zhangshaocong
 * @date 2020-12-03
 */
public interface ConstructionStrategyService
{
    /**
     * 查询施工攻略
     *
     * @param constructionStrategyId 施工攻略ID
     * @return 施工攻略
     */
    public ConstructionStrategy selectConstructionStrategyById(Long constructionStrategyId);

    /**
     * 查询施工攻略列表
     *
     * @param constructionStrategy 施工攻略
     * @return 施工攻略集合
     */
    public List<ConstructionStrategy> selectConstructionStrategyList(ConstructionStrategy constructionStrategy);

    /**
     * 新增施工攻略
     *
     * @param constructionStrategy 施工攻略
     * @return 结果
     */
    public int insertConstructionStrategy(ConstructionStrategy constructionStrategy);

    /**
     * 修改施工攻略
     *
     * @param constructionStrategy 施工攻略
     * @return 结果
     */
    public int updateConstructionStrategy(ConstructionStrategy constructionStrategy);

    /**
     * 批量删除施工攻略
     *
     * @param constructionStrategyIds 需要删除的施工攻略ID
     * @return 结果
     */
    public int deleteConstructionStrategyByIds(Long[] constructionStrategyIds);

    /**
     * 删除施工攻略信息
     *
     * @param constructionStrategyId 施工攻略ID
     * @return 结果
     */
    public int deleteConstructionStrategyById(Long constructionStrategyId);

    /**
     * 查询用户下的店铺列表
     * @param userId
     * @return
     */
    public List<SupplierInfo> selectSupplierList(Long userId);

    public List<ConstructionStrategy> findAllSand(ConstructionStrategy constructionStrategy);

    public List<ConstructionStrategy> findAllZhengWu(ConstructionStrategy constructionStrategy);


    List<ConstructionStrategy> findAllShiPin(ConstructionStrategy constructionStrategy);

    List<ConstructionStrategy> gonglvList(ConstructionStrategy constructionStrategy);

    Long gonglvListCount(ConstructionStrategy constructionStrategy);
}
